variable "region" {
  default = "cn-hangzhou"
}

variable "availability_zone" {
  default     = "cn-hangzhou-k"
  description = "可用区"
}

variable "instance_type" {
  default     = "ecs.c6.large"
  description = "ecs 实例规格"
}

variable "image_id" {
  default     = "centos_7_7_x64_20G_alibase_20200426.vhd"
  description = "ecs 镜像id"
}

variable "bandwidth_out" {
  description = "机器带宽，大于1默认分配公网ip"
  default     = 0
}

variable "key_name" {
  default     = "test1_admin"
  description = "配置的公钥名称，请最后加上环境缩写，保持唯一"
}

variable "disk_size" {
  default     = "40"
  description = "磁盘容量"
}

variable "resource_group_name" {
  default     = "test1$"
  description = "资源组名称"
}

variable "instance_name" {
  description = "实例名"
  type        = string
  default     = "Brian_Test_Instance"
}

variable "tags_owner" {
  description = "tags标记"
  type        = string
  default     = "wangsu"
}

variable "instance_number" {
  description = "创建ecs服务器数据量，默认值为一台"
  type        = number
  default     = 1
}

variable "instance_password" {
  description = "实例密码"
  type        = string
  default     = ""
}